package com.example.windowdemo.window.builder;

import android.content.Context;
import android.view.Gravity;
import android.view.WindowManager;

import com.example.windowdemo.window.builder.WindowBuilder;

/**
 * @author: njb
 * @date: 2023/7/31 13:47
 * @desc:
 */
public class CallCleanWindowBuilder extends WindowBuilder {
    private Context context;

    public CallCleanWindowBuilder(Context context) {
        super(context);
        this.context = context;
        setFullScreen(true);
        setTitleBar(false);
        setSize(WindowManager.LayoutParams.WRAP_CONTENT, WindowManager.LayoutParams.MATCH_PARENT);
        setGravity(Gravity.CENTER);
    }

}
